﻿using System.Collections.Generic;
using System.Windows.Forms;

namespace ProyectoDeTesis.Vistas
{
    public partial class AuditoriaReporte : Form
    {
        private List<RegistroActividad> listaRegistroActividad;

        public AuditoriaReporte()
        {
            InitializeComponent();
        }

        public AuditoriaReporte(List<RegistroActividad> listaRegistroActividad)
        {
            // TODO: Complete member initialization
            InitializeComponent();
            this.listaRegistroActividad = listaRegistroActividad;
            /*Telerik.Reporting.ObjectDataSource objectDataSource = new Telerik.Reporting.ObjectDataSource();
            objectDataSource.DataSource = listaRegistroActividad;

            Telerik.Reporting.Report report = new Telerik.Reporting.Report();

            report.DataSource = objectDataSource;


            Telerik.Reporting.InstanceReportSource reportSource = new Telerik.Reporting.InstanceReportSource();
            reportSource.ReportDocument = report;*/

            //Report1 reportSource = new Report1();

//            reportViewer1.ReportSource = reportSource;

  //          reportViewer1.RefreshReport();
        }

    }
}
